Skip to content

fix(ui): remove unused clsx/twMerge imports from Input and Modal - #1454

Merged
ogazboiz merged 1 commit into
LabsCrypt:mainfrom
OpensrcLord:fix/remove-unused-clsx-twmerge-imports
Aug 3, 2026
Merged

fix(ui): remove unused clsx/twMerge imports from Input and Modal#1454
ogazboiz merged 1 commit into
LabsCrypt:mainfrom
OpensrcLord:fix/remove-unused-clsx-twmerge-imports

Conversation

@OpensrcLord

@OpensrcLord OpensrcLord commented Jul 27, 2026

Copy link
Copy Markdown

Summary

Completes the DRY cleanup from #1248.

Commit already replaced the local copies in Button, Card, and EmptyState with the shared import from . However, Input.tsx and Modal.tsx still carried dead clsx and twMerge imports — they imported the shared cn() but never removed the raw dependencies they no longer use directly.

This PR removes those unused imports so there are no dead symbols in the design-system folder.

Changes

  • — removed unused clsx and tailwind-merge imports
  • — removed unused clsx and tailwind-merge imports

Verification

  • No visual or behavioral change — cn() calls remain identical
  • tsc --noEmit passes (pre-existing errors only, none from these files)
  • Lint passes (pre-existing prettier config issue aside)

closes #1248

Input.tsx and Modal.tsx imported clsx and tailwind-merge directly
despite already using the shared cn() helper from @/app/utils/cn.
These dead imports are now removed, completing the DRY cleanup
started in commit 8210157 for Button, Card, and EmptyState.

Closes LabsCrypt#1248
@OpensrcLord

Copy link
Copy Markdown
Author

@ogazboiz done closes #1248

@ogazboiz ogazboiz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean little cleanup, both files use the shared cn() and these clsx/twMerge imports were dead since the #1248 consolidation. CI fully green. merging.

if you want to keep contributing, join us on Telegram: https://t.me/+DOylgFv1jyJlNzM0

@ogazboiz
ogazboiz merged commit 357a96e into LabsCrypt:main Aug 3, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants